home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1996 #6 / Amiga Plus CD - 1996 - No. 06.iso / pd / texte / texfontinst / contrib / zd / 00readme < prev    next >
Text File  |  1996-07-30  |  8KB  |  177 lines

  1. %%% text-file:      00readme
  2. %%% version:        1.0
  3. %%% date:           94/08/17
  4. %%% author:         Constantin Kahn <kahn@math.uni-hannover.de>
  5. %%% address:        Institut f\"ur Mathematik (C), Universit\"at Hannover,
  6. %%%                 Welfengarten 1, 30167 Hannover, Germany
  7. %%% abstract:       This text file describes the zd* fonts. The 'zd' fonts
  8. %%%                 are virtual T1 encoded Computer Modern fonts based on 
  9. %%%                 `cm' fonts and certain PostScript fonts.
  10.  
  11.  
  12. INTRODUCTION
  13. ------------
  14.  
  15. This file describes release version 1.0 of the `zd' fonts.
  16.  
  17. The `zd' fonts are the result of a (personal) project directed at creating
  18. `fake dc fonts' based on existing Computer Modern (`cm') fonts. This is
  19. achieved using Alan Jeffrey's fontinst program. The generated `zd' fonts
  20. are based on corresponding `cm' fonts with certain glyphs taken from other
  21. `cm' text fonts, from `cm' symbol fonts, and from appropriate PostScript 
  22. fonts (from the Times and Helvetica families which are built into almost 
  23. every PostScript printer).
  24.  
  25. (The background: I have been using PostScript Computer Modern fonts with 
  26. Textures on the Macintosh for years and I wanted to take advantage of the 
  27. T1 encoding supported in LaTeX2e without having to revert to bitmap fonts.)
  28.  
  29. There are `zd' font series defined for all the corresponding `cm' resp. `dc'
  30. font series. The fonts are named according to the same conventions as used 
  31. for Computer Modern resp. `dc' fonts, e.g., `zdbx10' is a T1-encoded Computer
  32. Modern font which can be used to replace `dcbx10' and which is based on 
  33. `cmbx10' as the main text font (i.e., used for the latin glyphs).
  34.  
  35. There are `zd' fonts generated by this package for all design sizes for
  36. which corresponding `cm' fonts exist. (Note that in many series of the `dc' 
  37. fonts there are more design sizes present than in the corresponding `zd' 
  38. fonts which must inherit the shortcomings of the `cm' fonts in this area.)
  39.  
  40.  
  41. REQUIREMENTS
  42. ------------
  43.  
  44. A TeX with a large enough memory model to run the enclosed fontinst programs,
  45. a driver with virtual fonts capabilities, and a complete Computer Modern
  46. fonts installation are obvious requirements.
  47.  
  48. In addition, PostScript Times and Helvetica font families must be available
  49. since guillemots and ogonek accents are taken from PostScript fonts. These 
  50. fonts must be known to TeX according to Karl Berry's naming conventions used
  51. by psnfss2e (e.g., AdobeStandard-encoded Times Roman is `ptmr0', and so on).
  52.  
  53. Furthermore, best results can be achieved if the driver is capable of
  54. creating artificially slanted versions of certain `cm' fonts. This should be
  55. the case if the `cm' fonts are available as PostScript fonts and if the
  56. driver can use PostScript fonts.
  57.  
  58. Otherwise, several artificially slanted versions of cm fonts created by the
  59. `fontzd0.tex' program must be replaced by original, unslanted versions of
  60. the same fonts. This will lead to less satisfactory results yet (in most 
  61. cases) acceptable results. (E.g., in this case slanted or italic fonts would
  62. contain upright curly braces.)
  63.  
  64.  
  65. GENERATING THE FONTS
  66. --------------------
  67.  
  68. There are five `fontinst' programs included in this package which should be
  69. run in sequence. (The whole job has been split into five separate jobs in
  70. order to save some memory.) Installation instructions:
  71.  
  72. (0) Before you start the `fontinst' programs make sure that you have .pl
  73.     files of *all* Computer Modern fonts. Furthermore, .pl files must be
  74.     available for all `dc' fonts for which corresponding `cm' fonts of the 
  75.     same design size exist. (If in doubt, generate .pl files for *all* 
  76.     `dc' fonts.)
  77.     
  78.     Make sure that the .pl files contain appropriate CODINGSCHEME
  79.     properties. (I have seen .pl files without, so you may want to check.)
  80.     
  81.     In addition, .afm (or .pl or .mtx) files for Times and Helvetica fonts 
  82.     (including bold and/or slanted/italic versions) are required.
  83.  
  84. (1) Run fontzd0.tex - this file generates the metrics of the artificially
  85.     slanted cm fonts used in the zd fonts. The fonts to which slants are
  86.     applied are: cmsy10, cmbsy10, cmmi10, cmmib10, cmvtt10, and cmbxti10.
  87.     This file must be run first even if slanted cm fonts are not available!
  88.     
  89.     (The generated file `dummy.vpl' is useless and can be deleted.)
  90.  
  91. (2) Run fontzdr.tex - this file generates the .vpl and .fd files for the 
  92.     roman zd fonts.
  93.  
  94. (3) Run fontzds.tex - this file generates the .vpl and .fd files for the 
  95.     sans serif zd fonts.
  96.  
  97. (4) Run fontzdt.tex - this file generates the .vpl and .fd files for the 
  98.     typewriter zd fonts.
  99.  
  100. (5) Run fontzdx.tex - this file generates the .vpl and .fd files for certain
  101.     `extra' fonts (dunhill, funny roman, fibonacci).
  102.  
  103.  
  104. INSTALLING THE FONTS
  105. --------------------
  106.  
  107. There are several steps required (please refer for installation details to 
  108. the documentation that came with the driver you are using):
  109.  
  110. (1) Make the artificially slanted versions of certain cm fonts known to your
  111.     driver. This applies to the following fonts:
  112.     
  113.        cmsy10o:    cmsy10,   slant 0.167
  114.        cmbsy10o:   cmbsy10,  slant 0.167
  115.        cmmi10o:    cmmi10,   slant 0.167
  116.        cmmib10o:   cmmib10,  slant 0.167
  117.        cmvtt10o:   cmvtt10,  slant 0.167
  118.        cmbxi10f:   cmbxti10, slant -0.25 (a backwards slant)
  119.     
  120.     Alternatively (if your driver cannot slant these fonts):
  121.     
  122.        Make the same six fonts identical to the unslanted fonts cmsy10, 
  123.        cmbsy10, cmmi10, cmmib10, cmvtt10, and cmbxti10.
  124.  
  125. (2) Make the fonts cmsy10o, cmbsy10o, cmmi10o, cmmib10o, cmvtt10o, and
  126.     cmbxi10f known to TeX. (Usually, this is done by turning the .pl files
  127.     generated by fontzd0.tex into .tfm files using the `pltotf' program.)
  128.  
  129. (3) Turn the .vpl files for the `zd' fonts generated by `fontzdr.tex',
  130.     `fontzds.tex', `fontzdt.tex', and `fontzdx.tex' into virtual fonts which
  131.     TeX and the driver can use. (Usually, this is done by converting the
  132.     .vpl files to .tfm and .vf files using the `vptovf' program.)
  133.  
  134. (4) Copy the generated .fd files to a directory where TeX can find them. 
  135.     These files replace certain .fd files from the standard LaTeX2e 
  136.     distribution which have identical names (those files in the standard
  137.     distribution refer to `dc' fonts rather than to `zd' fonts).
  138.     
  139.     If you don't want to lose your changes when you upgrade LaTeX you should
  140.     also store backup copies of these .fd files in a safe place.
  141.  
  142. (5) Recompile the LaTeX format. (Usually, `T1cmr.fd' is read in when a 
  143.     LaTeX2e format is being generated, so a new format must be generated
  144.     in order to include the new .fd files added in step (4) above.)
  145.  
  146.  
  147. KNOWN PROBLEMS / TO DO
  148. ----------------------
  149.  
  150. (1) With TrueType versions of Times and Helvetica fonts the positioning of
  151.     `ogonek' accents is completely wrong (on a Macintosh at least). This 
  152.     looks like a bug in Apple's TrueType fonts (?); the zd fonts have been 
  153.     optimized for PostScript output (and should be portable as such).
  154.  
  155. (2) If you want to use these fonts with Textures on a Macintosh make sure
  156.     that you have the latest versions of `EdMetrics' and `Textures'. (Older
  157.     versions may cause problems when instaling and when using the fonts.)
  158.  
  159. (3) Think again about installations which cannot support slanted cm fonts.
  160.     The main problem are the f-ligatures in slanted or italic typewriter
  161.     fonts. Presently, these are taken from an artificially slanted cmvtt10
  162.     font which yields glyphs *very* close to those in slanted or italic
  163.     typewriter dc fonts. If the driver cannot slant cmvtt10 the resulting
  164.     f-ligatures will be useless. (Is this really worth the bother?)
  165.  
  166. (4) Maybe start another campaign for fine tuning parameters for the placement
  167.     of accents and such. (The stuff which is defined in the xzd*.mtx files).
  168.     This would be the third one. I *hate* recalling the first two.
  169.  
  170. (5) Create a fontinst program which installs fakes of the `dc' fonts based on
  171.     `zd' fonts, i.e., the generated fonts should be named `dc*' and should
  172.     contain glyphs from corresponding `zd' fonts (scaled where necessary) with
  173.     glyph dimensions copied over identically from the `dc' fonts, and with
  174.     sidebearings added where appropriate.
  175.  
  176. === end of file 00readme ===
  177.